package com.tsing.cedap.rest.vo.reqVo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author TheTsing
 * @create 2022-02-24 17:19
 */
@Getter
@Setter
@Accessors(chain = true)
public class UpdateRiderReqVo {

    @NotBlank(message = "id不能为空")
    private String id;

    private String riderId;

    @ApiModelProperty("是否将骑手id置空，true表示设置为空")
    @NotNull(message = "是否置空不能为空")
    private Boolean denialService;

}
